range: simplify code
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 24 Feb 2016 21:53:13 +0000 (13:53 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 29 Feb 2016 18:45:13 +0000 (10:45 -0800)
commit2d2a81682debb5d17888314a087a0fc49734d283
tree8e2081ed3b5f32ef2e061644f7db456e28b6d2ed
parent622f5aef4e9ba4e7bd0fca4006910589d001ec0e
range: simplify code

Instead of directly accessing the widget allocation, we can use the
gadget API to test whether the coordinates are in the main gadget.
gtk/gtkrange.c